package com.xy.common.utils;

//import lombok.AllArgsConstructor;
//import lombok.Data;
//import lombok.NoArgsConstructor;

//@Data
//@AllArgsConstructor
//@NoArgsConstructor
public class ZookeeperNode {

    private String nodePath;

    private byte[] data;

    public String getNodePath() {
        return nodePath;
    }

    public void setNodePath(String nodePath) {
        this.nodePath = nodePath;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public ZookeeperNode() {
    }

    public ZookeeperNode(String nodePath, byte[] data) {
        this.nodePath = nodePath;
        this.data = data;
    }
}
